package com.zlf.mediator;

import com.zlf.mediator.entity.User;

import java.util.Date;

//创建一个聊天室类
public class ChatRoom {
		public static void showMessage(User user, String message){
				System.out.println(new Date().toString() + " [" + user.getName() + "] : " + message);
		}
}